﻿#ifndef PAGE6_H
#define PAGE6_H

#include "ErrorDialog.h"
#include "OrderDialog.h"
#include <QWidget>
#include <QPushButton>

class Page6 : public QWidget
{
    Q_OBJECT

public:
    explicit Page6(QWidget* parent = nullptr);

signals:
    void orderRequested();
    void productionRequested();
    void financeRequested();
    void storeRequested();
    void frontPageRequested();
    void errloading6();
    void addEmployeeRequested();
    void pageRequested10();
    void pageRequested13();
    void pageRequested1();
public slots:
    void showErrorDialog6();
    void financeHide();
    void signuphide();
    void errloadingFunc6();
  void onFrontButtonClicked();

private:
    QPushButton *orderButton;
    QPushButton *productionButton;
    QPushButton *financeButton;
    QPushButton *warehouseButton;
    QPushButton *frontButton;  // 声明 frontButton
    QPushButton* addEmployeeButton;
    QPushButton* helpButton;
    QPushButton*connectButton;//连接按钮

};

#endif // PAGE6_H
